package nancal.mp.db.mongo.table

import java.io.*
import nbcp.base.db.*
import nbcp.base.comm.*
import nbcp.base.extend.*
import nbcp.base.enums.*
import nbcp.base.utils.*
import nbcp.myoql.db.*
import nbcp.myoql.db.comm.*
import nbcp.myoql.db.enums.*
import nbcp.myoql.db.mongo.*
import nbcp.myoql.db.mongo.base.*
import nbcp.myoql.db.mongo.component.*
import org.slf4j.LoggerFactory
import org.springframework.stereotype.*



class GitFolderDataMeta(private val parentPropertyName: String): MongoColumnName() {
    constructor(value: MongoColumnName) : this(value.toString()) {}
    /**
     * 应用名
     */
    @nbcp.base.db.annotation.Cn(value = """应用名""")
    val name = mongoColumnJoin(this.parentPropertyName, "name")
    /**
     * 虚拟目录
     */
    @nbcp.base.db.annotation.Cn(value = """虚拟目录""")
    val location = mongoColumnJoin(this.parentPropertyName, "location")
    /**
     * 路径
     */
    @nbcp.base.db.annotation.Cn(value = """路径""")
    val path = mongoColumnJoin(this.parentPropertyName, "path")
    /**
     * 端口号
     */
    @nbcp.base.db.annotation.Cn(value = """端口号""")
    val port = mongoColumnJoin(this.parentPropertyName, "port")
    /**
     * 中文应用名
     */
    @nbcp.base.db.annotation.Cn(value = """中文应用名""")
    val cnname = mongoColumnJoin(this.parentPropertyName, "cnname")
    /**
     * package.json 中的构建脚本
     */
    @nbcp.base.db.annotation.Cn(value = """package.json 中的构建脚本""")
    val buildScript = mongoColumnJoin(this.parentPropertyName, "buildScript")
    val config = GitFolderDevConfigMeta(mongoColumnJoin(this.parentPropertyName, "config"))
    override fun toString(): String {
        return mongoColumnJoin(this.parentPropertyName).toString()
    }
}

